/**
 * Mikael Nilsson
 * Johan Schedin Jigland
 * Nikolai Padyukov
 * Arkitektur och design av globala applikationer, IV1201
 * 
 * 2011-03-02
 *
 * This software is provided 'as-is', without any express or implied
 * warranty.  In no event will the authors be held liable for any damages
 * arising from the use of this software.
 *
 * Permission is granted to anyone to use this software for any purpose,
 * including commercial applications, and to alter it and redistribute it
 * freely, subject to the following restrictions:
 *
 * 1. The origin of this software must not be misrepresented; you must not
 *    claim that you wrote the original software. If you use this software
 *    in a product, an acknowledgment in the product documentation would be
 *    appreciated but is not required.
 * 2. Altered source versions must be plainly marked as such, and must not be
 *    misrepresented as being the original software.
 * 3. This notice may not be removed or altered from any source distribution.
 */

package org.kth.dbcopy.model;

/**
 * The old-db entity person.
 * @author Mikael Nilsson
 *
 */
public class Person {
	private String name;
	private String surname;
	private String ssn;
	private String email;
	private String password;
	private Role role;
	private String username;

	/**
	 * Getter for name.
	 * @return The name of the person.
	 */
	public String getName() {
		return name;
	}

	/**
	 * Setter for name.
	 * @param name The name of the person.
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * Getter for surname.
	 * @return the surname of the person.
	 */
	public String getSurname() {
		return surname;
	}

	/**
	 * Setter for surname.
	 * @param surname the surname of the person.
	 */
	public void setSurname(String surname) {
		this.surname = surname;
	}

	/**
	 * Getter for ssn.
	 * @return the social security number of the person.
	 */
	public String getSsn() {
		return ssn;
	}

	/**
	 * Setter for ssn.
	 * @param ssn the social security number of the person.
	 */
	public void setSsn(String ssn) {
		this.ssn = ssn;
	}

	/**
	 * Getter for email.
	 * @return the email of the person.
	 */
	public String getEmail() {
		return email;
	}

	/**
	 * Setter for email.
	 * @param email the email of the person.
	 */
	public void setEmail(String email) {
		this.email = email;
	}

	/**
	 * Getter for password
	 * @return the password of the person.
	 */
	public String getPassword() {
		return password;
	}

	/**
	 * Setter for password.
	 * @param password the password of the person.
	 */
	public void setPassword(String password) {
		this.password = password;
	}

	/**
	 * Getter for role.
	 * @return the role of the person.
	 */
	public Role getRole() {
		return role;
	}

	/**
	 * Setter for role.
	 * @param role the role of the person.
	 */
	public void setRole(Role role) {
		this.role = role;
	}

	/**
	 * Getter for username.
	 * @return the username of the person.
	 */
	public String getUsername() {
		return username;
	}

	/**
	 * Setter for username.
	 * @param username the username of the person.
	 */
	public void setUsername(String username) {
		this.username = username;
	}
}
